package pres.lnk.learn.designpattern.r_mediator;

/**
 * 业务B
 * @Author lnk
 * @Date 2018/6/4
 */
public class BusinessB {
    public void run(){
        System.out.println("执行业务B的业务");
    }

    public void execute(AbstractMediator mediator){
        System.out.print("在业务B里");
        mediator.runA();
    }
}
